package org.iabako.shared.iservice.business;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import org.iabako.shared.entity.business.BusinessEntity;
import org.iabako.shared.entity.business.Tracking;
import org.iabako.shared.entity.business.TrackingObject;
import org.iabako.shared.entity.enumeration.TrackingType;

import java.util.List;

/**
 * Created by jose on 04/05/15.
 */

@RemoteServiceRelativePath("iabakoServices/trackingService")
public interface TrackingService extends RemoteService {

    void addTrackingToUserSession(TrackingType trackingType, BusinessEntity trackingObject);

    void addTrackingToUserSession(TrackingType trackingType, BusinessEntity trackingObject, int cardinalNumber, String comment);

    List<Tracking> getTodayTracking();

    List<TrackingObject> getTrackingObjects(Tracking tracking);
}
